<?php

/* @var $this yii\web\View */

$this->title = 'My Yii Application';
?>
<div class="site-index">

    <div class="jumbotron">
        <h1>Congratulations!</h1>

        <p class="lead">You have successfully created your Yii-powered application.</p>

        <p><a class="btn btn-lg btn-success" href="http://www.yiiframework.com">Get started with Yii</a></p>
    </div>

    <div class="body-content">

        <div class="row">
            <div class="col-lg-4">
                <h2>Heading</h2>

                <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et
                    dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
                    ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
                    fugiat nulla pariatur.</p>

                <p><a class="btn btn-default" href="http://www.yiiframework.com/doc/">Yii Documentation &raquo;</a></p>
            </div>
            <div class="col-lg-4">
                <h2>Heading</h2>

                <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et
                    dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
                    ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
                    fugiat nulla pariatur.</p>

                <p><a class="btn btn-default" href="http://www.yiiframework.com/forum/">Yii Forum &raquo;</a></p>
            </div>
            <div class="col-lg-4">
                <h2>Heading</h2>

                <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et
                    dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
                    ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
                    fugiat nulla pariatur.</p>

                <p><a class="btn btn-default" href="http://www.yiiframework.com/extensions/">Yii Extensions &raquo;</a></p>
            </div>
            <div class="col-lg-12">
                <h2>RESTful quick start</h2>
                <p>Yii provides a whole set of tools to simplify the task of implementing RESTful Web Service APIs.
                    In particular, Yii supports the following features about RESTful APIs:
                    <br>Yii提供全套工具简化RESTful网络服务APIs,特别支持以下RESTful APIs特性
                </p>
                <ul>
                    <li>
                        Quick prototyping with support for common APIs for <a href="guide-db-active-record.html">Active Record</a>;
                        <br>
                    </li>
                    <li>Response format negotiation (supporting JSON and XML by default);</li>
                    <li>Customizable object serialization with support for selectable output fields;</li>
                    <li>Proper formatting of collection data and validation errors;</li>
                    <li>Support for <a href="http://en.wikipedia.org/wiki/HATEOAS">HATEOAS</a>;</li>
                    <li>Efficient routing with proper HTTP verb check;</li>
                    <li>Built-in support for the <code>OPTIONS</code> and <code>HEAD</code> verbs;</li>
                    <li>Authentication and authorization;</li>
                    <li>Data caching and HTTP caching;</li>
                    <li>Rate limiting;</li>
                </ul>
                <p>
                    <a class="btn btn-default" href="http://www.yiiframework.com/doc-2.0/guide-rest-quick-start.html">
                        查看原文 &raquo;
                    </a>
                </p>
            </div>
        </div>

    </div>
</div>
